//
// Created by alexa on 5/13/2024.
//

#ifndef ARTILLERYSYSTEM_MAINSERVICE_H
#define ARTILLERYSYSTEM_MAINSERVICE_H


#include "soldiers-service/SoldiersService.h"
#include "crews-service/CrewsService.h"
#include "battalions-service/BattalionsService.h"
#include "combat-units-service/UnitsService.h"
#include "missiles-service/MissilesService.h"

class MainService {

public:
    SoldiersService* soldiersService;
    CrewsService* crewsService;
    BattalionsService* battalionsService;
    UnitsService* unitsService;
    MissilesService* missilesService;
    MainService();

    virtual ~MainService();

    void setDefaultDataDirectory(string path) const;
    string loadConfigFromFile();
    static void saveConfigToFile(string dataDirPath);
};


#endif //ARTILLERYSYSTEM_MAINSERVICE_H
